package com.rfid.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rfid.common.annotation.Excel;
import com.rfid.common.core.domain.BaseEntity;

/**
 * 稽查明细对象 t_rfid_audit
 *
 * @author fangchen
 * @date 2021-01-12
 */
public class TRfidAudit extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 稽查编号
     */
    private String auditNo;

    /**
     * 单据号
     */
    private String documentNo;

    /**
     * 单品号
     */
    @Excel(name = "单品号")
    private String itemNo;

    /**
     * 产品id
     */
    @Excel(name = "产品id")
    private String productNo;

    /**
     * EPC
     */
    @Excel(name = "EPC")
    private String epc;

    /**
     * tid
     */
    @Excel(name = "tid")
    private String tid;

    /**
     * wifi来定位的，就会传“I”，代表IP；如果是GPS定位的，就会传“G”；如果是LBS，就会传“L”
     */
    private String addressType;

    /**
     * 经纬度值
     */
    @Excel(name = "经纬度值")
    private String longitudeLatitude;

    /**
     * 设备编号
     */
    @Excel(name = "设备编号")
    private String equipNo;

    /**
     * 是否中途 0否 1是
     */
    @Excel(name = "是否中途 0否 1是")
    private Integer isAppending;

    /**
     * 是否已包装 0否 1是
     */
    @Excel(name = "是否已包装 0否 1是")
    private Integer isPacking;

    /**
     * 是否正常 0否 1是
     */
    @Excel(name = "是否正常 0否 1是")
    private Integer isNormal;

    /**
     * 预留字段,保存格式为json字段
     */
    @Excel(name = "预留字段,保存格式为json字段")
    private String field;

    private String productName;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setAuditNo(String auditNo) {
        this.auditNo = auditNo;
    }

    public String getAuditNo() {
        return auditNo;
    }

    public void setDocumentNo(String documentNo) {
        this.documentNo = documentNo;
    }

    public String getDocumentNo() {
        return documentNo;
    }

    public void setItemNo(String itemNo) {
        this.itemNo = itemNo;
    }

    public String getItemNo() {
        return itemNo;
    }

    public void setEpc(String epc) {
        this.epc = epc;
    }

    public String getEpc() {
        return epc;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getTid() {
        return tid;
    }

    public void setAddressType(String addressType) {
        this.addressType = addressType;
    }

    public String getAddressType() {
        return addressType;
    }

    public void setLongitudeLatitude(String longitudeLatitude) {
        this.longitudeLatitude = longitudeLatitude;
    }

    public String getLongitudeLatitude() {
        return longitudeLatitude;
    }

    public void setEquipNo(String equipNo) {
        this.equipNo = equipNo;
    }

    public String getEquipNo() {
        return equipNo;
    }

    public void setIsAppending(Integer isAppending) {
        this.isAppending = isAppending;
    }

    public Integer getIsAppending() {
        return isAppending;
    }

    public void setIsPacking(Integer isPacking) {
        this.isPacking = isPacking;
    }

    public Integer getIsPacking() {
        return isPacking;
    }

    public void setIsNormal(Integer isNormal) {
        this.isNormal = isNormal;
    }

    public Integer getIsNormal() {
        return isNormal;
    }

    public void setField(String field) {
        this.field = field;
    }

    public String getField() {
        return field;
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("auditNo", getAuditNo())
                .append("documentNo", getDocumentNo())
                .append("itemNo", getItemNo())
                .append("epc", getEpc())
                .append("tid", getTid())
                .append("addressType", getAddressType())
                .append("longitudeLatitude", getLongitudeLatitude())
                .append("equipNo", getEquipNo())
                .append("isAppending", getIsAppending())
                .append("isPacking", getIsPacking())
                .append("isNormal", getIsNormal())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("field", getField())
                .toString();
    }
}
